<!DOCTYPE html>
<html lang="zh">

	<head>
		<meta charset="utf-8">
		<meta name="data-spm" content="5176" />
        <meta http-equiv=X-UA-Compatible content="IE=edge,chrome=1">
        <meta name="renderer" content="webkit">
		<title>云南省工业互联网</title>

		<meta name="description" content="">
		<meta name="keywords" content="">
		<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/admin/css/bootstrap-table.min.css" />
		<link rel="stylesheet" href="/admin/base/css/bootstrap/bootstrap.css">
		<link rel="stylesheet" href="/admin/base/css/base.css">


		<link rel="stylesheet" type="text/css" href="/admin/css/style.min.css"/>
		<link rel="stylesheet" href="/admin/layui/css/layui.css">

		<link rel="stylesheet" href="/admin/base/css/jquery-topbar.css">
		<link rel="stylesheet" href="/admin/base/css/jquery-sidebar.css">
		<link rel="stylesheet" href="/admin/base/css/index.css">

		<link rel="stylesheet" type="text/css" href="/admin/css/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/admin/css/iconfont3.css" />
		<link rel="stylesheet" href="/admin/css/regist.css">

		<script type="text/javascript" src="/admin/base/js/jquery.js" ></script>
		<script type="text/javascript" src="/admin/base/js/polyfill-es6.js" ></script>
		<script src="/admin/js/api.js" charset="utf-8"></script>
		<script src="/admin/js/base.js" charset="utf-8"></script>
		<script src="/admin/js/common.js"></script>

		<style>
			.nav_logo{
				margin-left: 10px;
				width: 130px;
				margin-top: 5px;
			}
			.over_hidden {
				overflow: hidden;
				white-space: nowrap;
				text-overflow: ellipsis;
			}
			nav.page-tabs {
				margin-left: 0px;
			}

			#tabnav{ display: table;}
			#tabnav a{
				display: table-cell;
				padding-right: 20px;
				position: relative;
				overflow: hidden;
				float: none;
				height: 40px;
				white-space: nowrap;
				text-overflow: ellipsis;
				width: 150px;
			}
			.content-tabs{ position: inherit;}
			.page-tabs .fa{
				position: absolute;
				top: 15px;
				right: 5px;
				padding-left: 0px;
			}

			.moveimg a img {
				position: relative;
				top: 0px;
				/*animation: myMove 2s infinite;*/
				/*-webkit-animation: myMove 2s infinite;*/
				/* infinite 表示无限循环 */
			}

			@keyframes myMove {
				0% {
					top: 0px;
				}

				50% {
					top: 5px;
				}

				100% {
					top: 0px;
				}
			}

			@-webkit-keyframes myMove {
				0% {
					top: 0px;
				}

				50% {
					top: 50px;
				}

				100% {
					top: 0px;
				}
			}
			.top-bar{ }
			.console-component-sidebar{ height: calc(100% - 80px); padding-top: 20px; }
			.menuChange{ background: #ffffff;}
			.menuChange ul li{ min-height: 50px; line-height: 50px; border-bottom: 1px solid #eee; color: #333333;  position: relative;}
			.menuChange ul li>div{ text-align: center; font-size: 15px; overflow: hidden; cursor:pointer; }
			.menuChange>ul>li.active,.menuChange>ul >li:hover{ background: #4691ee; color: #ffffff;}
			.menuChange ul >li>.icon{ position: absolute;
				top: 0px; left: 30px; }
			.menuChange ul >li>.icon .iconfont{ margin-left:5px;font-size: 13px;}
			.console-component-sidebar .sidebar-nav{ min-height: 50px;}
			.console-component-sidebar .sidebar-nav .sidebar-title:hover{
				background-color: #589deb;
				height: auto!important;}
			.console-component-topbar .register-toplogo img{ }
			.console-component-sidebar .sidebar-nav .sidebar-title span{ font-size: 16px; margin-top: -3px;}
			.layui-right{ float: right; padding-right: 15px;}

		</style>
	</head>

	<body style="padding-top: 80px;">

		<!-- nav.html div -->
		<div class="console-component-topbar" >
			<div class="register-box">
				<div class="m-head register-head">
					<div class="register-toplogo pull-left" style="padding-top: 15px; padding-left: 15px;" >
						<img src="/admin/images/logo1.png">
					</div>
					<div class="pull-right topbar-right " style="margin-top: 15px;">
						<ul class="layui-nav" >
							<li class="layui-nav-item zxtype " >
								<a href="javascript:void(0);" onclick="logOut()">
									<span class="glyphicon glyphicon-off"></span>
									退出

								</a>
							</li>
							<span style="padding: 0 5px; float: right; color: #fff; margin-top: 15px;">|</span>
							<li class="layui-nav-item ">
								<a onclick="updatePass()"><span class="layui-icon layui-icon-updatePass">修改密码</span></a>
							</li>
							<span style="padding: 0 5px; float: right; color: #fff; margin-top: 15px;">|</span>
							<li class="layui-nav-item ">
								<a><span class="layui-icon layui-icon-username"></span></a>
							</li>


						</ul>
						<div class="title userInfo"></div>
					</div>
				</div>
			</div>

		</div>

		<!-- letlet meum div -->
		<div class="console-component-sidebar console-component-sidebar-hover  "  id="onlyicon" >

		</div>

		<div id="root"  style="padding-left:230px; ">
			<div data-reactroot="" class="console-frame">

				<!-- left 二级菜单 -->
				<div class="side collapse" style="display: none;">
					<div class="brand">首页</div>
					<div class="menu menuChange" lay-filter="demo" lay-allowclose="true">
						<!-- 三级模块 -->
					</div>
					<div class="toggle">
						<i class=" icon icon-collapse-left" data-spm-anchor-id="0.0.0.i5.79814f15f363fw"></i>
						<div class="shape"></div>
					</div>
				</div>
				<!-- 二级菜单 -->

				<!-- reight -->
				<div class="content">
					<div>
						<div class="domain-layout" >
						<div class="top-bar" style="overflow: hidden;">
							<div class="content-tabs">
								<nav class="page-tabs J_menuTabs menuTabs"  id="tabnav" >
									<a href="javascript:;" class="active J_menuTab iframe0" iframe_id="iframe0" onclick="changeTab(this)">
										首页
									</a>
								</nav>
							</div>
						</div>
						<div class="mainContent">
							<iframe id="iframe0" width="100%"  frameborder="no" border="0" marginwidth="0" marginheight="0"></iframe>
						</div>
					</div>
					</div>
				</div>

				<!-- reight -->
			</div>
		</div>
		<script src="/admin/layui/layui.js" charset="utf-8"></script>
		<script src="/admin/base/js/base.js" charset="utf-8"></script>
		<script type="text/javascript" src="/admin/base/js/module.js" ></script>

		<script>
			layuiReady(function () {
				This.jqueryAjax(Api.base.user.getCurrentBaseUser, {}, "json", function(data) {
					if (data && data.status == 1) {
						var dataObj = data.object;
						$(".layui-icon-username").html(dataObj.name);
					}
				});
			}, '0');
            // 加载顶部导航条
			$(function () {
				setTimeout(function() {
					$("#iframe0").attr("src", "/admin/sys/desk");
				}, 100);
            });

			$(".naviconbox").hover(function () {
			    $(".yonghuslide").show();
            },function () {
                $(".yonghuslide").hide();
            });

            $(".zxtype").hover(function () {
                $(".zxslide").show();
            },function () {
                $(".zxslide").hide();
            });

            function logOut() {
                Layui.confirm("确定退出登录吗？", '', function(layer, index) {
                    This.jqueryAjax(Api.login.loginOut, {}, "json", function(data){
                        if (data && data.status == 1) {
                            layerMessage("退出成功！");
                            location.href = "/index";
						}
                    });
                });
			}
			
			//修改密码
			function updatePass(){
				locationUrl(Url.creatUrl(Api.base.user.updatePassHtml), '修改密码', '50%', '60%');
			}

		</script>

	</body>
</html>